package Day3Demo;

/**
 * @author PHUNG Nam Can - NakanPhung
 * @mail cank56hua@gmail.com
 * @date Jul 22, 2013 8:38:05 PM
 * @project Day3Demo
 * @file Person.java
 */

public class Person {

	private String name = "";
	private int age = 0;
	private String address = "";
	private String job = "";

//	public void Init() {
//		this.name = "";
//		this.age = 0;
//		this.address = "";
//		this.job = "";
//	}

	public Person(String name, int age) {
//		Init();
		this.name = name;
		this.age = age;
		// this.address = "";
		// this.job = "";
	}

	public Person(String name, int age, String address) {
//		Init();
		this.name = name;
		this.age = age;
		this.address = address;
		// this.job = "";
	}

	public Person(String name, int age, String address, String job) {
		this.name = name;
		this.age = age;
		this.address = address;
		this.job = job;
	}

	public void display() {
		System.out.println("Name: " + name);
		System.out.println("Age: " + age);
		System.out.println("Adress: " + address);
		System.out.println("Job: " + job);
		System.out.print("\n");
	}

}
